package com.financial.service.platbalancepay.service;

import com.financial.service.platbalancepay.domain.FinancialReceiptBalancepayDO;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * 余额支付汇总表
 * 
 * @author zhaopengjun
 * @email 1428939700@qq.com
 * @date 2019-08-23 23:49:59
 * @des
 */

public interface BalancePayService {
	
	FinancialReceiptBalancepayDO get(Integer id);
	
	List<FinancialReceiptBalancepayDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(FinancialReceiptBalancepayDO financialReceiptBalancepay);
	
	int update(FinancialReceiptBalancepayDO financialReceiptBalancepay);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

    Map<String,Object> ysWechatBalancePay(Map<String,Object> paramMap);

	String balancePayCallBack(Map<String,String> paramMap, HttpServletResponse response);

    Map<String,Object> wechatBalancePay(Map<String,Object> reqMap);

    Map<String,Object> wechatBalanceasynPay(Map<String,Object> reqMap);

	/**
	 *  主动查询预支付
	 * @param
	 * @return
	 */
    String queryBalancepay(Map<String,Object> map);

    Map<String,Object> disposeBalanceasynPay(Map<String,Object> result);
}
